<html>
<?php
require_once "../add/TegGenerator.php";
require_once "../add/ClassList.php";

require_once"AddClasses.php";
require_once"functions.php";

require_once "../add/timer.class.php";
require_once "../include/settings.php";
require_once "../include/global.php";
require_once '../include/DbSimple/Generic.php';

 // head_mon();

 ?>
 <div id=body>
 
	<?php  $conn = dbconn();
	
    //////////////тут управляющий код
$timer = new timer();
 $timer->start_timer();
 
 
		$garr=get_real_pr_gr(get_real_prline("$bdname"));

		$html.=Td(FillDay(),'class="mon tdd"').Td(FillCom(),'class=mon');
		
		foreach($garr as $gr)
		{
			$gri=$gr->id;
			$html.=Td(FillGroup($gr,0),'class=mon');
		}
		
		echo Div(Table(Tr($html),"id='monitor1' rules=none cellspacing='0'"),'id=main');
		
		$Time = $timer->end_timer(); 
 // echo('<br>'.'Код работал '.$Time.'с.<br />'); 
 
	mysql_close($conn); ?>
	 
	 </div>
</html>